Contents | Index | < Browse | Browse >

LETTERlog10ULETTER Base 10 logarithm function.

Overview
#include <math.h>

r = log10(x);

double r;
double x;

Portability
ANSI

Description
Computes the logarithm to the base 10. Both the data expected and returned are double-precision floating-point values. This function is to the opposite to calling pow to the power 10.

Returns
The base 10 logarithm as a double-precision floating-point value.

See also
pow , log